@extends('layouts.main')

@section('title', '显示业务员')

@section('content')
<h3>@yield('title')</h3>
<div class="btn-group" role="group">
  <a href="{{ action('BusinessData\SalesmanController@index') }}" class="btn btn-primary">返回列表</a>
</div>

<form class="form-horizontal">
    <div class="form-group">
      <label for="job_number" class="col-sm-2 control-label">业务员工号</label>
      <div class="col-sm-3">
        <input class="form-control" id="job_number" name="job_number" value="{{ $model->job_number }}" disabled>
      </div>
    </div>

    <div class="form-group">
      <label for="name" class="col-sm-2 control-label">业务员姓名</label>
      <div class="col-sm-3">
        <input class="form-control" id="name" name="name" value="{{ $model->name }}" disabled>
      </div>
    </div>

    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-10">
          <a href="{{ action('BusinessData\SalesmanController@edit', $model) }}" class="btn btn-primary">编辑</a>
      </div>
    </div>
  </form>

@endsection